//
//  KeyIndexedArray.h
//  Source List
//
//  Created by Keith Duncan on 28/01/2009.
//  Copyright 2009 thirty-three software. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface AFKeyIndexedArray : NSMutableArray {
	NSString *_key;
	
	NSMutableArray *_objects;
	NSMutableDictionary *_index;
}

- (id)initWithKey:(NSString *)key;

@property (readonly, copy) NSString *key;

- (id)objectForIndexedValue:(id <NSCopying>)value;

- (void)refreshIndex;

@end
